package com.runfast.waimai.service.impl;

import com.runfast.common.service.BaseService;
import com.runfast.waimai.dao.mapper.RunfastAccountrecordMapper;
import com.runfast.waimai.dao.model.RunfastAccountrecord;
import com.runfast.waimai.dao.model.RunfastAccountrecordExample;
import com.runfast.waimai.service.RunfastAccountrecordService;
import com.runfast.waimai.util.PageBean;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

@Service
public class RunfastAccountrecordServiceImpl extends BaseService<RunfastAccountrecord, Integer, RunfastAccountrecordExample> implements RunfastAccountrecordService {
    @Resource
    RunfastAccountrecordMapper dao;
    @Override
    public PageBean<RunfastAccountrecord> getPageBeanbydriver(Integer page, Integer rows, RunfastAccountrecord accountrecord) {


        return dao.getPageBeanbydriver(page,rows,accountrecord);
    }

    @Override
    public List<RunfastAccountrecord> findPageBean(Integer page, Integer rows, RunfastAccountrecord accountRecord) {
        return dao.findPageBean(page,rows,accountRecord);
    }

    @Override
    public int findCount(Integer page, Integer rows, RunfastAccountrecord accountRecord) {
        return dao.findCount(page,rows,accountRecord);
    }
}